//
//  NoneView.m
//  LoveOfPet
//
//  Created by 芦彬 on 15/11/19.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "NoneView.h"
#import "LuBDefine.h"

@implementation NoneView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createNoneView];
    }
    return self;
}

- (void)createNoneView{
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(50, 150, WIDTH - 100, 300)];
    label.text = @"没有图集";
    label.textColor = [UIColor grayColor];
    label.numberOfLines = 0;
    label.textAlignment = NSTextAlignmentCenter;
    label.font = [UIFont systemFontOfSize: 50];
    [self addSubview:label];
    [label release];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
